//
//  UserDetailBottomPushController.swift
//  todaySwift
//
//  Created by ChokWah on 2018/4/7.
//  Copyright © 2018年 ChokWah. All rights reserved.
//

import UIKit
import WebKit

class UserDetailBottomPushController: UIViewController {
    var url: String?
    var children = [BottomTabChildren]()
    override func viewDidLoad() {
        super.viewDidLoad()
        let webview = WKWebView()
        webview.frame = view.bounds
        webview.load(URLRequest(url: URL(string: url!)!))
        view.addSubview(webview)
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        navigationController?.setNavigationBarHidden(false, animated: animated)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}
